home *** CD-ROM | disk | FTP | other *** search
/ The Mac 13 / the-mac-13.iso / Shareware City / Demos / TextPak Demo / Text Items / GlossaryDescriptor Class < prev    next >
Encoding:
Text File  |  1995-03-02  |  1.3 KB  |  11 lines  |  [TEXT/MPS ]

  1. {Body Text}The {Emphasise}GlossaryDescriptor{Body Text} class is used by the TextPak_Glossary objects to describe the position, size, appearence and behaviourof a glossary pop-up. Each glossaryDescriptor object contains the following fields:
  2. {Small Bulleted List}BackgroundName: the filename of the background image for the pop-up
  3. {Small Bulleted List}X,Y: the position at which the glossary pop-up is to appear
  4. {Small Bulleted List}Width, Height: the size of the glossary pop-up
  5. {Small Bulleted List}BackgroundObject: the object to contain the background media
  6. {Small Bulleted List}GlossaryObject: the object to display the text of the glossary
  7. {Small Bulleted List}HighlightObject: the object containing the highlight for the hotspot word(s)
  8. {Small Bulleted List}TimeoutDuration: the number of ticks before the glossary goes away
  9.  
  10. {Body Text}You can set any or all of these fields: if you do not specify objects for the background, glossary and highlights the system uses the default objects: genericGlossaryBackground, genericGlossaryBuilder and genericGlossaryHighlight respectively.
  11. {Body Text}Because you pass the TextPak_Glossary object a reference to a GlossaryDescriptor object every time you need to display a glossary pop-up, you can alter any of the attribute of the pop-up dynamically.